<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="normalize.css">
    <!--因为index.js依赖animate.js，所以animate.js要写在index.js上面-->
    <script src="js/animate.js"></script>
    <script src="js/index.js"></script>
    <style>
        *{
            margin: 0px;
            padding: 0px;
            list-style: none;
        }
        .a{
            position: absolute;
            width:520px;
            height: 280px;
            margin: 50px 400px;
            overflow: hidden;
        }
        .a ul{
            width: 600%;
            position: absolute;
            top: 0px;
            left: 0px;
        }
        .a ul li{
            float: left;
        }
        .zuo,.you{
            position: absolute;
            top: 50%;
            margin-top: -20px;
            width: 24px;
            height: 40px;
            background-color: dimgray;
            text-align: center;
            line-height: 40px;
            color: white;
            font-size: 18px;
            z-index: 1;
        }
        .you{
            right: 0px;
        }
        .circle{
            position: absolute;
            bottom: 10px;
            left: 200px;
        }
        .circle li{
            float: left;
            width: 8px;
            height: 8px;
            border: 2px solid gray;
            margin: 0px 3px;
            border-radius: 50%;
            cursor: pointer;
        }
        .current{
            background-color: white;
        }
    </style>
</head>
<body>
        <div class="a">
            <!-- 左右按钮 -->
            <a href="#" class="zuo" style="text-decoration: none;">←</a>
            <a href="#" class="you" style="text-decoration: none;">→</a>
            <ul><!-- 图片 -->
                <li><a href="#"><img src="01.png" width="520px" height="280px" alt=""></a></li>
                <li><a href="#"><img src="02.jpg" width="520px" height="280px" alt=""></a></li>
                <li><a href="#"><img src="03.jpg" width="520px" height="280px" alt=""></a></li>
                <li><a href="#"><img src="04.jpg" width="520px" height="280px" alt=""></a></li>
                <li><a href="#"><img src="05.jpg" width="520px" height="280px" alt=""></a></li>
            </ul>
            <!-- 底部的小圆圈 -->
            <ol class="circle"></ol>
        </div>
</body>
</html>